package cc.ailley.singleton.hungry;

/**
 * 饿汉式(线程安全)
 *
 * @author ailley
 */
public class Hungry {

    private Hungry(){}

    private final static Hungry instance = new Hungry();

    public static Hungry getInstance(){
        return instance;
    }
}
